<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<div class="user">
	<!-- <div class="userimg"><img src="/static/" width="107" height="107" /><br /><a href="#">[更换图像]</a></div> -->
	<div class="userimg">
		<img onclick="avatar();" src=""

			 width="120" height="120"><br> <a id="avatar"
											  href="javascript:void(0);">[更换图像]</a>
	</div>
	<ul class="useradmin">
		<li>用户名：xywenjie</li>
		<li>账户等级：0</li>
		<li>安全级别：高</li>
		<li>站内未读信息：（<a href="https://www.fnp2p.com/message/index.html"><strong
				id="msg">159</strong></a><img
				src="/assets/fnp2p/images/myaccount6.png" width="20" height="13">）
		</li>
	</ul>
	<ul style="float: left; padding-left: 100px;">
		<!--
            <li>
        <a href="javascript:void(0);" onclick="openCustomer();">
            <img src="/assets/fnp2p/images/defultpic.png"/>
        </a>
    </li>        -->
	</ul>
	<div class="usercz">
		<b>认证情况</b>

		<p>
			<img src="/assets/fnp2p/images/myaccount10.png" width="29"
				 height="26" title="您已经通过邮箱认证"> <img
				src="/assets/fnp2p/images/myaccount11.png" width="29" height="26"
				title="您已经通过手机认证"> <img
				src="/assets/fnp2p/images/myaccount12.png" width="29" height="26"
				title="您已经通过实名认证"> <img
				src="/assets/fnp2p/images/myaccount13.png" width="29" height="26"
				title="您已经开通了第三方资金托管账户">
			<!--                <a href="https://www.fnp2p.com/user/safeset/mark/2.html">
            <img src="/assets/fnp2p/images/myaccount14.png" width="29" height="26"/>
        </a>-->
		</p>
		您的账户安全级别高
	</div>
</div>

<div class="tg_zdtb">
	<input type="hidden" value="32629" id="tno">
	<button id="openAccount" class="btn" >进入托管账户</button>

	<button type="button" id="autoTender" class="account_button btn">
		修改自动投标</button>
</div>
<div class="box_zh">
	<h1>账户详情</h1>
	<div class="box_zh_1">
		<div class="box_zh_left" style="position: relative;">
			<b>总待收额</b> <em>￥28.02</em> <b
				style="margin-top: 11px; border-top: 1px solid #e1e3eb; padding-top: 15px;">账户总额</b><br>
			<em style="position: absolute; left: 15px; bottom: 15px;">￥3642.95</em>
		</div>
		<ul class="box_zh_right">
			<li class="liline"><span>
							<p>待收本金</p> <b>￥27.74</b>
					</span> <span>
							<p>待收利息</p> <b>￥0.28</b>
					</span> <a href="<c:url value="/recharge/index"/>">充值</a></li>
			<li><span>
							<p>总待收额</p> <b>￥28.02</b>
					</span> <span>
							<p>冻结总额</p> <b>￥0.00</b>
					</span> <span>
							<p>可用余额</p> <b><fmt:formatNumber value="${memberMoney.accountMoney}"/></b>
					</span> <a href="<c:url value="/withdraw/index"/>">提现</a></li>
		</ul>
	</div>
	<h1>投资收益</h1>
	<div class="box_zh_1">
		<div class="box_zh_left">
			<b>投资总收益</b> <em>￥924.79</em>
		</div>
		<ul class="box_zh_right">
			<li><span>
							<p>已赚利息</p> <b>￥647.42</b>
					</span> <span>
							<p>已赚奖励</p> <b>￥277.37</b>
					</span></li>
		</ul>
	</div>
	<h1>账户积分</h1>
	<div class="box_zh_left">
		<b>可用积分</b> <em>46669</em>
	</div>
</div>
<div id="formDiv">

</div>
<script type="text/javascript">
	$(document).ready(function(){
		$("#openAccount").click(function(){
			$.ajax({
				url:'<c:url value="/user/accountManager"/>',
				type:'POST',
				success:function(result){
				    $("#formDiv").html(result);

					$("#form").submit();
				}
			});
		});
	});
</script>